import * as PIXI from 'pixi.js'
import useDiyStore from '@/store/modules/useDiyStore'
import { setPixi } from '@/store/modules/usePixiStore'

export default async () => {
  const diyStore = useDiyStore()
  const container = new PIXI.Container()
  container.position.set(0, -(506 / 2) * (1 - 292 / 512) + 23.5)
  diyStore.imageUid = container.uid
  setPixi(container.uid, container)
  return container
}
